package org.jsbd.boss.dao;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.NewExecutionGroup;
import org.jsbd.boss.domian.NewExecutionGroupMark;
import org.jsbd.boss.domian.NewExecutionGroupMarkVO;
import org.jsbd.boss.domian.channel.NewExecutionGroupMarkDto;

public interface INewExecutionGroupDAO {

	Map<String, Object> selectGroupListWithPage(DataGridModel page, NewExecutionGroupMarkDto dto);

	List<NewExecutionGroupMark> selectGroupDetailById(Integer groupId);

	void insertGroup(NewExecutionGroup newExecutionGroup);

	NewExecutionGroup selectGroupById(Integer id);

	void updateGroup(NewExecutionGroup newExecutionGroup);

	List<NewExecutionGroupMark> selectGroupMarkById(Integer id);

	void deleteGroup(Integer id);

	void insertGroupMark(NewExecutionGroupMark newExecutionGroupMark);

	void deleteGroupMark(Integer id);

	List<NewExecutionGroupMarkVO> selectSearchDataByGroupId(NewExecutionGroupMarkDto negmDto);

	List<NewExecutionGroupMarkVO> selectSearchDataTotalByGroupId(NewExecutionGroupMarkDto negmDto);

	NewExecutionGroupMark selectMarkByGroupIdAndMark(Integer id, String mark);

	NewExecutionGroup selectGroupByName(String groupName);

}
